#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QMetaObject>
#include <QMetaClassInfo>
#include <QMetaProperty>
#include "qperson.h"

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

private:
    QPerson *boy;
    QPerson *girl;

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::Widget *ui;

private slots:
    void on_ageChanged(int value);
    void on_spin_valueChanged(int arg1);

    void onb_tnClear_clicked();
    void onb_tnBoyInc_clicked();
    void on_btnGirlInc_clicked();
    void on_btnClassInfo_clicked();
};
#endif // WIDGET_H
